import Vue from 'vue'
import App from './App.vue'
// 引入重置样式文件
import '@/styles/reset.less'
// 导入路由
import router from '@/router'

// 按需引入vant
import { Toast, Uploader, Dialog, Field, Picker, Tab, Tabs, Icon, List, PullRefresh, Search } from 'vant';
Vue.use(Toast)
  .use(Uploader)
  .use(Dialog)
  .use(Field)
  .use(Picker)
  .use(Tab)
  .use(Tabs)
  .use(Icon)
  .use(List)
  .use(PullRefresh)
  .use(Search)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
